package tests;


public class TestGrammar {

	public static void main(String[] args) {
		/*GrammarRewriter generator = new GrammarRewriter();
		generator.setAxiom("T120 V0 I[Flute] Rq C5q " +
		"V1 I[Tubular_Bells] Rq Rq Rq G6i+D6i V2 I[Piano] Cmajw E6q "+ 
		"V3I[Voice] E6q G6i+D6i V4 I[Choir] C5q E6q");
		generator.addTransform("Cmajw", "Cmajw Fmajw");
		generator.addTransform("Fmajw", "Rw Emajw");
		generator.addTransform("Emajw", "Rw Fmajw");
		generator.addTransform("C5q", "C5q G5q E6q C6q");
		generator.addTransform("E6q", "G6q D6q F6i C6i D6q");
		generator.addTransform("G6i+D6i", "Rq Rq G6i+D6i G6i+D6i Rq");
		String music = generator.generate(3);
		Pattern pattern = new Pattern(music);
		Player player = new Player();
		player.play(pattern);*/
	}
	
}
